'use strict'

var Sequelize = require('sequelize');
//引用路径
var sequelize = require('../db');

const User = sequelize.define('articles', {
    title: {
        type: Sequelize.STRING(800),
        allowNull: false
    },
    writer:{
        type:Sequelize.STRING
        //allowNull:false
    },
    introdtion:{
        type:Sequelize.STRIN
    }
},{

});

module.exports = User;


